<template>
    <div class="commodityInfo">
        <div v-html="datas">

        </div>
    </div>
</template>
<script>
    import {getUsersGood} from "../../api/list/list";

    export default {
        name:"commodityInfo",
        data(){
            return{
                datas:[],
                gid:''
            }
        },
        created() {
            this.gid = this.$route.query.gid
            const params = {
                gid:this.$route.query.gid,
                type:'details',
                token:'1ec949a15fb709370f'
            }
            getUsersGood(params).then((res)=>{
                let data = res.data.data.bodys
                this.datas = data
            })
        }
    }
</script>
<style lang="less" scoped>
    .commodityInfo{
        width: 100%;
        div{
            width: 100%;
            height: 100%;
            overflow: auto;
            img{
                width: 100%;
                height: auto;
                display: block;
            }
        }
    }
</style>